Need to reset device model pid on reboot
authoradsharma@los-vmm.sc.intel.com <adsharma@los-vmm.sc.intel.com>
Tue, 9 Aug 2005 19:06:44 +0000 (11:06 -0800)
committeradsharma@los-vmm.sc.intel.com <adsharma@los-vmm.sc.intel.com>
Tue, 9 Aug 2005 19:06:44 +0000 (11:06 -0800)
Without this, xend will not spawn a new device model process after the reboot.

Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/python/xen/xend/XendDomainInfo.py

index 0d72f6e870cf83facefc9f1ad683035204388d8f..3850c4735fb726552ed15d0588f02114842b643a 100644 (file)
@@ -642,6 +642,7 @@ class XendDomainInfo:
                 pass
         if self.image:
             try:
+                self.device_model_pid = 0
                 self.image.destroy()
                 self.image = None
             except: